package com.beasts.ant.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
// 开启 swagger api
//@EnableSwagger2
// 开启 security 注解
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class AntAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AntAuthApplication.class, args);
    }
}
